<template>
	<view class="">
		
		<view class="info-plate mt-20">
			<view class="title">详情</view>
			<view class="text-black">
				<view class="flex justify-between">
					<text class="fsize-30">备注</text>
					<text class="fsize-30">{{details.remark || '-'}}</text>
				</view>
			</view>
			<view class="text-black">
				<view class="flex justify-between">
					<text class="fsize-30">结算金额</text>
					<text class="text-red fsize-30">￥{{details.settlementAmount || 0}}</text>
				</view>
			</view>
			<view class="text-black">
				<view class="flex justify-between">
					<text class="fsize-30">时间</text>
					<text class="fsize-30">{{details.date}}</text>
				</view>
			</view>
		</view>
		<u-safe-bottom></u-safe-bottom>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				orderId: 0,
				details: {},
			}
		},
		onLoad(option) {
			this.orderId = option.id
			this.getDatails(this.orderId)
		},
		methods: {
			getDatails(id) {
				var that = this;
				that.$reqJsonPost('CoreCmsStoreStaffSettlementGetDetails', {
					id: id
				}).then(res => {
					that.details = res.data;
					console.log(that.details);
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.info-plate {
		padding: 20rpx;
		margin:0 20rpx;
		border-radius: 10rpx;
		background-color: #fff;

		.title {
			font-size: 28rpx;
			font-weight: 600;
			padding-bottom: 20rpx;
			border-bottom: 1px #f1f1f1 solid;
		}

		.text-black {
			padding-top: 20rpx;
			line-height: 1.8;
		}
	}
	.paddingLeft10{ padding-left: 10rpx;}
	.marginTop60{ margin-top: 60rpx;}
	.status-img-view {
		background-color: #fff;
		padding: 40rpx 0;
		.are-img {
			display:block;
			width: 330rpx;
			margin: 0 auto;
		}


	}
</style>
